Skip to content

chore: remove error for no-unused-vars #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 18, 2022
Merged

chore: remove error for no-unused-vars #132

merged 2 commits into from
May 18, 2022

Conversation

sarahetter
Copy link
Contributor

The no-unused-vars eslint rule causes issues with Typescript, such as flagging an issue with flowArgs below being "unused".

type FlowableFunction = (...flowArgs: Headers) => any;

I checked in our next&gatsby plugins, and the gatsby plugin does not explicitly say to error as we were doing here (no-unused-vars is not mentioned at all in .eslintrc), and the next plugin explicitly turns off this rule ('no-unused-vars': 0), so I have removed this one as well.

I've created a draft issue in our board for us to think about getting all of our repos aligned in regards to the .eslintrc.js files.

@sarahetter sarahetter added the type: chore work needed to keep the product and development running smoothly label May 18, 2022
@sarahetter sarahetter requested a review from a team May 18, 2022 19:58
@sarahetter sarahetter mentioned this pull request May 18, 2022
Copy link
Contributor

@nickytonline nickytonline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

@sarahetter sarahetter merged commit 187dff7 into main May 18, 2022
@sarahetter sarahetter deleted the eslint-changes branch May 18, 2022 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants